/* 商品规格 */
.addrule {
	width: 100%;
	padding: 10px;
	border: 1px solid #f2f2f2;
	box-sizing: border-box;
	font-size: 12px;
}

.addrule .layui-input {
	height: 30px;
	line-height: 30px;
}

.specificationDiv {
	overflow: hidden;
}

.el {
	width: 100%;
	background: #f8f8f8;
	padding: 8px;
	box-sizing: border-box;
}

.addSpecificationVal {
	height: 30px;
	display: flex;
	align-items: center;
	cursor: pointer;
	color: #1E9FFF;
}

.addlistf {
	background: #f8f8f8;
	padding: 8px 0;
	float: left;
	width: 100%;
	margin: 10px 0;
	position: relative;
}

.layui-input-inline {
	position: relative;
}

.close {
	position: absolute;
	top: -8px;
	right: -8px;
	font-size: 20px;
	opacity: 0.2;
}

.addlistf .close {
	top: 10px;
	right: 15px;

}

.close:hover {
	opacity: 1;
	color: rgb(216, 74, 74);
}

.inputListTab {
	float: left;
	width: 100%;
	margin: 10px 0;
}
.addcheckbox{
	width: 20px!important;
	margin-left: 15px;
}
.layui-form-item .layui-form-checkbox[lay-skin=primary] {
	margin-top:4px;
}
.Bigaddtab{
	height:40px;
	float: left;
}
/* 图片 */
.imgList {
	width: 1000px;
	min-width: 150px;
	min-height: 150px;
}

.addImg {
	width: 100px;
	height: 30px;
	border-radius: 4px;
	border: 1px dashed #e6e6e6;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #666;
	font-size: 12px;
	margin-top:18px;
}

.addImg:hover {
	border: 1px dashed #f58843;
	background: linear-gradient(316deg,#f58843 0%,#f56643 100%);;
	color: #fff;
}

.addImg:hover i {
	color: #fff;
}

.addImg i {
	font-size: 14px;
	color: #f5dab0;
	margin-right: 5px;
}

.mainpicture {
	min-height: 100px;
	margin: 15px 0;
}

.mainpicture > li {
	float: left;
	margin-right: 10px;
	/* background: #fff; */
	position: relative;
}

.delImg {
	position: absolute;
	right: 0;
	font-size: 20px;
	color: red;
	opacity: 0.7;
}
.nullimg {
	width: 150px;
	height: 150px;
	border: 1px dashed #ddd;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.nullimg > div {
	text-align: center;
	color: #ddd;
}

.nullimg > div > i {
	text-align: center;
	font-size: 30px;
}

.showDImg {
	display: none;
}
.mainpicture .showDImg {
	width: 700px;
	height: auto;
}

.mainpicture .showDImg {
	max-width: 700px;
	width: auto;
	height: auto;
}
.layui-upload-list img{
	width:120px;
	height:120px;
	float: left;
}
.imgBut{
	margin-left: 50px;
	margin-top:81px;
}
.showDImg1 img,.showMImg img{
	height: 100%;
	object-fit: cover;
	width: 100%;
	display: block;
}

.imgdiv{
	position:relative;
	float:left;
	width: 150px;
	height: 150px;
	margin-right: 10px;
	overflow: hidden;
	background: #FFFFFF;
}
.imgdivA,.imgulA{
	width: 450px!important;
}
.imgul{
	width:150px;
	position:absolute;
	top:56px;
	display:none;
}
.imgul li{
	list-style:none;
	width:100%;
	height:30px;
	background-color: rgba(100,149,237, .5);
	color:#FFFFFF;
	margin-top:2px;
	text-align:center;
	line-height:30px;
	cursor:pointer;
}

/* 编辑器图片 */
#demo2{
	display: none;
}
.nullimgw{
	width: 450px;
}
.layui-form-label{
	width: 100px;
}
.layui-input-block{
	margin-left: 130px
}
.inputTable th div{
	display: flex;
	align-items: center;
}
.inputTable th span{
	flex-shrink: 0;
}
.inputTable th input{
	height: 30px;
	line-height: 30px;
	display: inline-block;
	width: 100%;
	margin-left: 10px;
}

/* 商品规格 上传图片 start */
.goodsUp{
	width: 100px;
	height: 100px;
	border-radius: 4px;
	border: 1px dashed #e6e6e6;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #666;
	font-size: 12px;    
	margin: auto;
}

.goodsUp img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}
/* 商品规格 上传图片 end */